﻿import { Router } from "express";
const r = Router();
r.post("/start", (req, res) => res.json({ runId: "r_demo" }));
r.post("/stop", (_req, res) => res.json({ ok: true }));
r.get("/status", (req, res) => res.json({ runId: req.query.runId, progress: 30, eta: 90 }));
r.get("/summary", (_req, res) => res.json({ metrics: { avgWait: 300 }, heatmap: [], bottlenecks: [] }));
r.get("/heatmap", (_req, res) => res.json({ t: 0, grid: [] }));
r.get("/trajectories", (_req, res) => res.json({ items: [] }));
r.get("/bottlenecks", (_req, res) => res.json({ items: [] }));
r.get("/metrics", (_req, res) => res.json({ avgWait: 300, maxDensity: 3.2 }));
export default r;
